import {constantRoutes} from '@/router/index'
export default{
  namespaced:true,
  state:{
    menuList:[]
  },
  mutations:{
    setMenu(state,payload){
    state.menuList=[...constantRoutes,...payload]
    }
  }
}